package com.lxl.bt.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Create by lvxinlong  229608356@qq.com
 * desc
 * on
 **/
public class A_Login implements Serializable{

    /**
     * username : 029
     * name : 回收员029
     *  appLogin : true
     * telephone : 18756130288
     * JSESSIONID : 43acf6a2a2c94659a506a228e13d86c4
     * menuList : [{"id":"52f708680b2b4342813659406e40a639","parentId":"1","parentIds":"0,1,","name":"主菜单1","href":"","menuChildren":[{"id":"778f51a42b434497888aa735fa86285e","parentId":"52f708680b2b4342813659406e40a639","parentIds":"0,1,52f708680b2b4342813659406e40a639,","name":"子菜单1.2","href":"","menuChildren":[]},{"id":"94f55fa95d0443548a32ac037f3eadf4","parentId":"52f708680b2b4342813659406e40a639","parentIds":"0,1,52f708680b2b4342813659406e40a639,","name":"子菜单1.1","href":"","menuChildren":[{"id":"360ab668d09c4b7981a75f5e73a8e450","parentId":"94f55fa95d0443548a32ac037f3eadf4","parentIds":"0,1,52f708680b2b4342813659406e40a639,94f55fa95d0443548a32ac037f3eadf4,","name":"子菜单1.1.1","href":"","menuChildren":[]}]}]},{"id":"6dc9f84a5cca4127bf9a7eada3807573","parentId":"1","parentIds":"0,1,","name":"主菜单2","href":"","menuChildren":[{"id":"76c950227e104cc3a53894d69bdb0c78","parentId":"6dc9f84a5cca4127bf9a7eada3807573","parentIds":"0,1,6dc9f84a5cca4127bf9a7eada3807573,","name":"子菜单2.1","href":"","menuChildren":[]}]}]
     */

    private String username;
    private String name;
    private boolean appLogin;
    private String telephone;
    private String JSESSIONID;
    public List<MenuListBean> menuList;
    private String photo;
    public String getUsername() {
        return username;
    }

    public boolean isAppLogin() {
        return appLogin;
    }

    public void setAppLogin(boolean appLogin) {
        this.appLogin = appLogin;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getJSESSIONID() {
        return JSESSIONID;
    }

    public void setJSESSIONID(String JSESSIONID) {
        this.JSESSIONID = JSESSIONID;
    }

    public List<MenuListBean> getMenuList() {
        return menuList;
    }

    public void setMenuList(List<MenuListBean> menuList) {
        this.menuList = menuList;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static class MenuListBean implements Serializable{
        /**
         * id : 52f708680b2b4342813659406e40a639
         * parentId : 1
         * parentIds : 0,1,
         * name : 主菜单1
         * href :
         * menuChildren : [{"id":"778f51a42b434497888aa735fa86285e","parentId":"52f708680b2b4342813659406e40a639","parentIds":"0,1,52f708680b2b4342813659406e40a639,","name":"子菜单1.2","href":"","menuChildren":[]},{"id":"94f55fa95d0443548a32ac037f3eadf4","parentId":"52f708680b2b4342813659406e40a639","parentIds":"0,1,52f708680b2b4342813659406e40a639,","name":"子菜单1.1","href":"","menuChildren":[{"id":"360ab668d09c4b7981a75f5e73a8e450","parentId":"94f55fa95d0443548a32ac037f3eadf4","parentIds":"0,1,52f708680b2b4342813659406e40a639,94f55fa95d0443548a32ac037f3eadf4,","name":"子菜单1.1.1","href":"","menuChildren":[]}]}]
         */

        private String id;
        private String parentId;
        private String parentIds;
        private String name;
        private String href;
        private java.util.List<MenuChildrenBean> menuChildren;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getParentId() {
            return parentId;
        }

        public void setParentId(String parentId) {
            this.parentId = parentId;
        }

        public String getParentIds() {
            return parentIds;
        }

        public void setParentIds(String parentIds) {
            this.parentIds = parentIds;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getHref() {
            return href;
        }

        public void setHref(String href) {
            this.href = href;
        }

        public List<MenuChildrenBean> getMenuChildren() {
            return menuChildren;
        }

        public void setMenuChildren(List<MenuChildrenBean> menuChildren) {
            this.menuChildren = menuChildren;
        }

        public static class MenuChildrenBean implements Serializable{
            /**
             * id : 778f51a42b434497888aa735fa86285e
             * parentId : 52f708680b2b4342813659406e40a639
             * parentIds : 0,1,52f708680b2b4342813659406e40a639,
             * name : 子菜单1.2
             * href :
             * menuChildren : []
             */

            private String id;
            private String parentId;
            private String parentIds;
            private String name;
            private String href;
            private String permission;
            private List<MenuChildrenBean> menuChildren;

            public String getPermission() {
                return permission;
            }

            public void setPermission(String permission) {
                this.permission = permission;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getParentId() {
                return parentId;
            }

            public void setParentId(String parentId) {
                this.parentId = parentId;
            }

            public String getParentIds() {
                return parentIds;
            }

            public void setParentIds(String parentIds) {
                this.parentIds = parentIds;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getHref() {
                return href;
            }

            public void setHref(String href) {
                this.href = href;
            }

            public List<MenuChildrenBean> getMenuChildren() {
                return menuChildren;
            }

            public void setMenuChildren(List<MenuChildrenBean> menuChildren) {
                this.menuChildren = menuChildren;
            }
        }
    }
}
